.md-text .tag-plugin.paper
  display: flex
  flex-direction: column
  align-items: center
  padding-top: var(--gap-padding)
  padding-bottom: var(--gap-padding)
  >.content
    border-left: 1px dashed var(--text-meta)
    border-right: 1px dashed var(--text-meta)
    border-bottom: 1px dashed var(--text-meta)
    border-bottom-left-radius: $border-card
    border-bottom-right-radius: $border-card
    padding: 1rem
    // max-width: calc(100% - 80px)
    max-width: calc(95%)
    >.title
      font-weight: 500
      text-align: center
    >.meta
      color: var(--text-p2)
      font-size: $fs-12
      font-weight: 500  
    >.body
      >.paragraph
        text-indent: 2em
      >.section
        >.section-title
          text-align: center
        >.section-content
          text-indent: 2em
      >.line.right
        >p
          text-align: right
      .tag-plugin
        margin: 0
    >.footer
      color: var(--text-p4)
      font-size: $fs-12
      text-align: right
      >.author-date
        text-align: right
        >span
          color: var(--text-p2)
          font-size: $fs-12
          font-weight: 500
        >.author
          margin-right: calc(0.5*var(--gap-p))

// 描边修饰
.md-text .tag-plugin.paper>.content
  position: relative
  &:before
    content: ''
    position: absolute
    height: 4px
    left: -16px
    top: -4px
    right: -16px
    border-radius: 4px
    background: var(--block)
  >.title
    position: relative
    &:before
      content: ''
      position: absolute
      height: 4px
      left: calc(-1rem - 6px)
      top: calc(-1rem - 4px)
      right: calc(100% + 1rem - 6px)
      border-radius: 4px
      background: $color-accent
    &:after
      content: ''
      position: absolute
      height: 4px
      right: calc(-1rem - 6px)
      top: calc(-1rem - 4px)
      left: calc(100% + 1rem - 6px)
      border-radius: 4px
      background: $color-accent

// 下划线修饰
.md-text .tag-plugin.paper > .content.underline > .title,
.md-text .tag-plugin.paper > .content.underline > .meta,
.md-text .tag-plugin.paper > .content.underline > .author-date,
.md-text .tag-plugin.paper > .content.underline > .footer,
.md-text .tag-plugin.paper > .content.underline > .body 
  background: linear-gradient(transparent 1.5rem,var(--text-meta) 1px)
  background-size: 100% calc(1.5rem + 1px)
  line-height: calc(1.5rem + 1px)
  // 若要前后有一定的间隙，可以打开下面的代码;反之，可以注释掉。注意：这里的间隙不是指段落开头的空两个字，而是指每行文字距离下划线开头（末尾）的距离
  padding: 0 3px

.md-text .tag-plugin.paper > .content.underline
  p
    margin: 0
  >.title
    border-top: 1px solid var(--text-meta)